/*
 * @Author: whq
 * @Date: 2024-03-12 17:37:49
 * @LastEditTime: 2024-05-28 16:26:13
 * @LastEditors: whq
 * @Description: 
 * @FilePath: \vue3Vant4Temp\src\main.js
 */
import { createApp } from 'vue'
//移动端rem适配文件
import './util/rem.js'
/* 重置样式 */
import '@assets/css/reset.min.css'
//配置pc自适应
import '@assets/js/flexible.js'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //pinia 数据持久化

import Vant from 'vant'
// 引入组件样式
import 'vant/lib/index.css';
import router from './router/index' //路由
import App from './App.vue'


const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate);
app.use(pinia)
app.use(router)
app.use(Vant)
app.mount('#app')
